package Doudizhu;

/**
 * 扑克牌
 */
public class Card {
    private String type;   //花色

    private String Point;  //点数

    private int number; //扑克序号

    private int typenum; //花色序号


    public Card(String type, String point, int number, int typenumber) {
        this.type = type;
        Point = point;
        this.number = number;
        this.typenum = typenum;
    }

    @Override
    public String toString() {
        return type + Point;

    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getPoint() {
        return Point;
    }

    public void setPoint(String point) {
        Point = point;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public int getTypenum() {
        return typenum;
    }

    public void setTypenum(int typenumber) {
        this.typenum = typenumber;
    }
}